Video Translation (stable:2025-05-20)

2025/06/06 • 12 new methods

EventHubConfigurationOperations_GetEventHubConfiguration (new)
Description Get EventHub configuration.
Reference Link ¶

⚼ Request

GET:  /configurations/event-hub
{
api-version: string ,
}

⚐ Response (200)

{
isEnabled: boolean ,
eventHubNamespaceHostName: string ,
eventHubName: string ,
managedIdentityClientId: string ,
enabledEvents:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
EventHubConfigurationOperations_CreateOrReplaceEventHubConfiguration (new)
Description Create or replace EventHub configuration.
Reference Link ¶

⚼ Request

PUT:  /configurations/event-hub
{
api-version: string ,
body:
{
isEnabled: boolean ,
eventHubNamespaceHostName: string ,
eventHubName: string ,
managedIdentityClientId: string ,
enabledEvents:
[
string ,
]
,
}
,
}

⚐ Response (200)

{
isEnabled: boolean ,
eventHubNamespaceHostName: string ,
eventHubName: string ,
managedIdentityClientId: string ,
enabledEvents:
[
string ,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
EventHubConfigurationOperations_DeleteEventHubConfiguration (new)
Description Delete EventHub configuration.
Reference Link ¶

⚼ Request

DELETE:  /configurations/event-hub
{
api-version: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
EventHubConfigurationOperations_PingEventHub (new)
Description Send ping to EventHub to verify configuration.
Reference Link ¶

⚼ Request

POST:  /configurations/event-hub:ping
{
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
OperationOperations_GetOperation (new)
Description Fetch a operation by ID.
Reference Link ¶

⚼ Request

GET:  /operations/{operationId}
{
api-version: string ,
operationId: string ,
}

⚐ Response (200)

{
id: string ,
status: enum ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TranslationOperations_ListTranslation (new)
Description List translation resources.
Reference Link ¶

⚼ Request

GET:  /translations
{
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
input:
{
sourceLocale: string ,
targetLocale: string ,
voiceKind: enum ,
videoFileUrl: string ,
audioFileUrl: string ,
speakerCount: integer ,
enableLipSync: boolean ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
}
,
displayName: string ,
description: string ,
createdDateTime: string ,
latestIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
latestSucceededIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
failureReason: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TranslationOperations_GetTranslation (new)
Description Fetch a translation by ID.
Reference Link ¶

⚼ Request

GET:  /translations/{translationId}
{
api-version: string ,
translationId: string ,
}

⚐ Response (200)

{
id: string ,
input:
{
sourceLocale: string ,
targetLocale: string ,
voiceKind: enum ,
videoFileUrl: string ,
audioFileUrl: string ,
speakerCount: integer ,
enableLipSync: boolean ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
}
,
displayName: string ,
description: string ,
createdDateTime: string ,
latestIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
latestSucceededIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
failureReason: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TranslationOperations_CreateTranslation (new)
Description Creates a translation.
Reference Link ¶

⚼ Request

PUT:  /translations/{translationId}
{
api-version: string ,
translationId: string ,
Operation-Id: string ,
resource:
{
id: string ,
input:
{
sourceLocale: string ,
targetLocale: string ,
voiceKind: enum ,
videoFileUrl: string ,
audioFileUrl: string ,
speakerCount: integer ,
enableLipSync: boolean ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
}
,
displayName: string ,
description: string ,
createdDateTime: string ,
latestIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
latestSucceededIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
failureReason: string ,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
input:
{
sourceLocale: string ,
targetLocale: string ,
voiceKind: enum ,
videoFileUrl: string ,
audioFileUrl: string ,
speakerCount: integer ,
enableLipSync: boolean ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
}
,
displayName: string ,
description: string ,
createdDateTime: string ,
latestIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
latestSucceededIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
failureReason: string ,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
input:
{
sourceLocale: string ,
targetLocale: string ,
voiceKind: enum ,
videoFileUrl: string ,
audioFileUrl: string ,
speakerCount: integer ,
enableLipSync: boolean ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
}
,
displayName: string ,
description: string ,
createdDateTime: string ,
latestIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
latestSucceededIteration:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
failureReason: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
TranslationOperations_DeleteTranslation (new)
Description Delete a translation.
Reference Link ¶

⚼ Request

DELETE:  /translations/{translationId}
{
api-version: string ,
translationId: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
IterationOperations_ListIteration (new)
Description List Iteration resources.
Reference Link ¶

⚼ Request

GET:  /translations/{translationId}/iterations
{
api-version: string ,
translationId: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
IterationOperations_GetIteration (new)
Description Fetch a iteration by ID.
Reference Link ¶

⚼ Request

GET:  /translations/{translationId}/iterations/{iterationId}
{
api-version: string ,
translationId: string ,
iterationId: string ,
}

⚐ Response (200)

{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}
IterationOperations_CreateIteration (new)
Description Creates an iteration.
Reference Link ¶

⚼ Request

PUT:  /translations/{translationId}/iterations/{iterationId}
{
api-version: string ,
translationId: string ,
iterationId: string ,
Operation-Id: string ,
resource:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
}

⚐ Response (200)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
operation-location: string ,
}
,
$schema:
{
id: string ,
input:
{
webvttFile:
{
url: string ,
kind: enum ,
}
,
speakerCount: integer ,
subtitleMaxCharCountPerSegment: integer ,
exportSubtitleInVideo: boolean ,
ttsCustomLexiconFileUrl: string ,
ttsCustomLexiconFileIdInAudioContentCreation: string ,
enableVideoSpeedAdjustment: boolean ,
enableOcrCorrectionFromSubtitle: boolean ,
exportTargetLocaleAdvancedSubtitleFile: boolean ,
subtitlePrimaryColor: string ,
subtitleOutlineColor: string ,
subtitleFontSize: integer ,
enableEmotionalPlatformVoice: enum ,
}
,
description: string ,
status: enum ,
failureReason: string ,
createdDateTime: string ,
lastActionDateTime: string ,
result:
{
translatedVideoFileUrl: string ,
translatedAudioFileUrl: string ,
sourceLocaleSubtitleWebvttFileUrl: string ,
targetLocaleSubtitleWebvttFileUrl: string ,
targetLocaleAdvancedSubtitleFileUrl: string ,
metadataJsonWebvttFileUrl: string ,
reportFileUrl: string ,
}
,
}
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
}
,
}